<%@ page pageEncoding="UTF-8"%>
<%@ taglib uri="/file" prefix="f"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<style>
<!--
select{
color:#000;
}
-->
</style>
<form id="DianChiForm">
	<s:hidden name="model.id"></s:hidden>
	
	<s:hidden name="model.crateDate"></s:hidden>
	<s:hidden name="model.updateDate"></s:hidden>
	<s:hidden name="model.batteryId"></s:hidden>
	<table width="100%" border="0" id="DianChiTable" cellpadding="0"
		cellspacing="0" class='edit_table'>
		<tbody>
		    <tr>
				<th>
					所在省:
				</th>
				<td>
				<s:select list="provinceList" id="b_province" listKey="name"  listValue="name"  cssClass="select" headerKey="" headerValue="选择省" onchange="getShi(this,'shiId','quId')" name="model.province"></s:select>
				</td>
			</tr>
			<tr>
				<th>
					所在市:
				</th>
				<td>
				<s:if test="model.city!=null">
				<s:select list="cityList" listKey="name" listValue="name"  cssClass="select" headerKey="" headerValue="选择市" id='shiId'    onchange='getQu(this,"quId")' name='model.city'></s:select>
				</s:if>
				<s:else>
				<select id='shiId'  onchange='getQu(this,"quId")' name='model.city'   class="select" ><option value=''>选择市</option></select>
				</s:else>
				</td>
			</tr>
			<tr>
				<th>
					所在县（区）:
				</th>
				<td>
				<s:if test="model.town!=null">
				<s:select list="areaList" listKey="name" listValue="name"	headerKey=""   headerValue="选择区" id="quId"  onchange="ajaxQueryPrice();" 	cssClass='select form-control' name="model.town"></s:select>	
				</s:if>
				<s:else>
				<select id='quId'  name='model.town' onchange="ajaxQueryPrice();"  class="select"><option value=''>选择区</option></select>
				</s:else>
				</td>
			</tr>
			
			<tr>
				<th>
					电池品牌:
				</th>
				<td>
					<s:select name="model.pinPai" id="model_pinPai" list="dianchiPinPais" listKey="key"  cssClass="select"  onchange="ajaxQueryPrice();"	listValue="value"></s:select>
				</td>
			</tr>
			<tr>
				<th>
					电池型号:
				</th>
				<td>
					<s:select name="model.xingHao" id="model_xingHao" list="dianchiTypes" listKey="key"  cssClass="select" onchange="ajaxQueryPrice();" listValue="value"></s:select>
				</td>
			</tr>
			<tr>
				<th>
					市场换够价:
				</th>
				<td>
					<input type="text" name='model.marketPrice' id="model_marketPrice"
						value="${model.marketPrice}" style="" maxlength="50"
						class="k-textbox" />
				</td>
			</tr>
			<tr>
				<th>
					本网换购价:
				</th>
				<td>
					<input type="text" name='model.ourPrice' value="${model.ourPrice}" id="model_ourPrice"
						maxlength="50" class="k-textbox" />
				</td>
			</tr>
			
			<tr>
				<th>
					显示顺序:
				</th>
				<td>
					<input type="text" name='model.sort' value="${model.sort}" id="model_sort"
						maxlength="10" class="k-textbox" />
				</td>
			</tr>
					
			<tr>
				<th>
					备注信息:
				</th>
				<td>
					<s:textarea name="model.detailInfo" rows="3" cssStyle="width:99%"></s:textarea>
				</td>
			</tr>
			<tr>
				<td colspan="2">
					<span>【电池价格说明】此处只显示修改后的电池价格信息，在电池管理里添加的价格信息默认为全国统一价格</span>
					<br/>
					<span>【排序说明】值越少，排序越靠前，在未改变默认排序的情况下，后添加的排序靠前</span>
				</td>
			</tr>
		</tbody>
	</table>
	<iframe name="downloadFileIframe" style="display: none"></iframe>
</form>
